import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { UserDemo } from 'src/Entities/UserDemo/UserDemo.dao';
import { LoginController } from './login.controller';
import { PassportModule } from "@nestjs/passport"
import { LocalStrategy } from './local.strategy';
import { JwtStrategy } from './jwt.strategy';

@Module({
  imports: [TypeOrmModule.forFeature([UserDemo]),],
  controllers: [LoginController,],
  providers: [LocalStrategy, JwtStrategy]

})

export class LoginModule { }
